package com.bawei.es.service;

import com.bawei.common.core.domain.R;
import com.bawei.domain.request.IndexInfoReq;
import com.bawei.domain.response.IndexInfoResp;

public interface EsIndexService {


    R createIndex(IndexInfoReq indexInfoReq);


    R deleteIndex(String indexName);

    Boolean isExitIndex(String indexName);


    IndexInfoResp getIndex(String indexName);

    void modifyIndex(String newIndexName, IndexInfoReq indexInfoReq);



}
